package com.hk.bigdata.contrler;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloWorldContrler {
        @ResponseBody
        @RequestMapping("/hello")
        public String hello(){
            return "Hello World!";
    }

    @ResponseBody
    @RequestMapping("/hello2")
    public String hello2(){
        return "Hello World!2";
    }

    @ResponseBody
    @RequestMapping("/hello3")
    public String hello3(){
        return "Hello World!3";
    }
}
